< previous page page_228 next page >

Page 228
0228-01.jpg
Figure 7.8.
Saving a query.
Selecting the Default Data Access Object
The first set of icons controls the type of data access object that Visdata uses to open the data table. The default data access object is the Visual Basic 5 Dynaset, the most flexible Visual Basic 5 data access object. You can use the Dynaset object to create updatable views of more than one table or open an existing table for read/write access.
You can also use the Snapshot data access object to open a read-only view of one or more data tables. Snapshot objects are faster than Dynasets, but require more workstation memory.
Finally, if you only need access to the physical base table in the database, you can select the Table radio button. Tables are fast and require little workstation memory. The disadvantage of the Table data access object is that you cannot use it to combine two or more tables into a single view.
Even though most of the work you do from Visdata is with base tables, you should set this radio button to use the Dynaset data access object. Dynasets are fast enough for almost all Visdata work and they provide the most flexibility when dealing with multitable views.
Selecting the Default Data Form
The second set of icons enables you to select the type of data form you see when you load your data access object. Visual Basic 5 now ships with a very nice data-bound grid tool. This grid automatically loads all the fields in the selected data access object and scrolls data records into

 
< previous page page_228 next page >

If you like this book, buy it!